﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/App.Master" Inherits="System.Web.Mvc.ViewPage<Ornament.Messages.Info>" %>

<%@ Import Namespace="Ornament.Messages" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    信息列表
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%
        var list = (IList<Info>)ViewData["list"];
        if (list.Count > 0)
        {
            Html.RenderPartial("ListInfoBase", list);
        }
        else
        {
            Html.RenderPartial("Information", "没有找到消息");
        }
    %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="PageTitle" runat="server">
    信息列表
</asp:Content>
